package com.daxt.model.service.archives.vo;

import java.io.Serializable;

import javax.validation.constraints.NotBlank;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "全宗", description = "全宗")
//@TableName("\"daxt\".\"ARCHIVES_FONDS\"")
@TableName("archives_fonds")
public class ArchivesFonds implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	@TableId(value = "id", type = IdType.AUTO)
	private Long id;
	@NotBlank(message = "全宗名称不能为空")
	@ApiModelProperty(value = "全宗名称", name = "fondsName")
	private String fondsName;
//	@NotBlank(message = "全宗号不能为空")
	@ApiModelProperty(value = "全宗号", name = "fondsNum")
	private String fondsNum;
	@ApiModelProperty(value = "remark", name="remark")
	private String remark;
	@ApiModelProperty(value = "sort", name="sort")
	private Integer sort;
	@ApiModelProperty(value = "自动生成档号", name="genArchivalNum")
	private String genArchivalNum;
}
